How can I create a reusable JavaScript object with methods and a parameterized constructor

welcome to shbcf.ru